<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 16:44
 */if($_SERVER['REQUEST_METHOD'] == 'GET'){

    echo '<br />用户的IP地址是： '.$_SERVER['REMOTE_ADDR'];
    echo '<br />用户访问的网址是： '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    echo '<br />用户访问方法： '.$_SERVER['REQUEST_METHOD'];


    die;
}

